\hypertarget{structcluster}{
\section{Referência à estrutura cluster}
\label{structcluster}\index{cluster@{cluster}}
}
Cluster.  


{\tt \#include $<$cluster.h$>$}

\subsection*{Campos de Dados}
\begin{CompactItemize}
\item 
struct \hyperlink{structcluster__node}{cluster\_\-node} $\ast$ \hyperlink{structcluster_dc003d7c81ab0cee1802cb6742a2de98}{head}
\item 
struct \hyperlink{structcluster__node}{cluster\_\-node} $\ast$ \hyperlink{structcluster_32ff08c9fc90846a9ec4eddf4351fac5}{tail}
\item 
struct \hyperlink{structcluster__node}{cluster\_\-node} $\ast$ \hyperlink{structcluster_7ccd7197eb601ffee1b0f6209578e9a2}{my\_\-node}
\item 
struct \hyperlink{structcluster__node}{cluster\_\-node} $\ast$ \hyperlink{structcluster_0790d37c29c68e44e2e6aa3c0d46bb70}{next\_\-serving}
\item 
int \hyperlink{structcluster_c5a12bfd4d88406ced444aedaf84ed45}{node\_\-count}
\item 
struct net\_\-device $\ast$ \hyperlink{structcluster_c846f7faaa5552def937e185f42e40e5}{dev}
\item 
unsigned char \hyperlink{structcluster_5c014dc4806dfdcc72ddcdfff23231ae}{mac\_\-response} \mbox{[}ETH\_\-ALEN\mbox{]}
\item 
struct net\_\-device $\ast$ \hyperlink{structcluster_cdb104ede08b2fbd5bcfb23aa8db042d}{vlan\_\-dev}
\item 
int \hyperlink{structcluster_7ae1f275ddabb8b5ff63b6b9dc171a0c}{port}
\item 
int($\ast$ \hyperlink{structcluster_088588314045ccef65ac5c6b72d5e37d}{hard\_\-start\_\-xmit\_\-old} )(struct sk\_\-buff $\ast$skb, struct net\_\-device $\ast$\hyperlink{structcluster_c846f7faaa5552def937e185f42e40e5}{dev})
\item 
u32 \hyperlink{structcluster_823f2ac00f77d6c7f23f224e5d7f328f}{ip}
\item 
struct in\_\-ifaddr \hyperlink{structcluster_e763326a5606306ff8879a318c03e176}{new\_\-ip\_\-addr}
\item 
rwlock\_\-t \hyperlink{structcluster_4918986560ed2638282b9a6856427dda}{rwlock}
\end{CompactItemize}


\subsection{Descrição detalhada}
Cluster. 

Definido na linha 36 do ficheiro cluster.h.

\subsection{Documentação dos campos e atributos}
\hypertarget{structcluster_dc003d7c81ab0cee1802cb6742a2de98}{
\index{cluster@{cluster}!head@{head}}
\index{head@{head}!cluster@{cluster}}
\subsubsection[head]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf cluster\_\-node}$\ast$ {\bf cluster::head}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_dc003d7c81ab0cee1802cb6742a2de98}




Definido na linha 38 do ficheiro cluster.h.

Referenciado por add\_\-cluster\_\-node(), get\_\-node\_\-by\_\-id(), nlb\_\-cluster\_\-exit(), procfile\_\-read() e remove\_\-cluster\_\-node().\hypertarget{structcluster_32ff08c9fc90846a9ec4eddf4351fac5}{
\index{cluster@{cluster}!tail@{tail}}
\index{tail@{tail}!cluster@{cluster}}
\subsubsection[tail]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf cluster\_\-node}$\ast$ {\bf cluster::tail}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_32ff08c9fc90846a9ec4eddf4351fac5}




Definido na linha 39 do ficheiro cluster.h.

Referenciado por add\_\-cluster\_\-node() e remove\_\-cluster\_\-node().\hypertarget{structcluster_7ccd7197eb601ffee1b0f6209578e9a2}{
\index{cluster@{cluster}!my\_\-node@{my\_\-node}}
\index{my\_\-node@{my\_\-node}!cluster@{cluster}}
\subsubsection[my\_\-node]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf cluster\_\-node}$\ast$ {\bf cluster::my\_\-node}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_7ccd7197eb601ffee1b0f6209578e9a2}




Definido na linha 40 do ficheiro cluster.h.

Referenciado por cmd\_\-my\_\-node(), hb\_\-rebuild\_\-msg(), nlb\_\-hook\_\-in() e procfile\_\-read().\hypertarget{structcluster_0790d37c29c68e44e2e6aa3c0d46bb70}{
\index{cluster@{cluster}!next\_\-serving@{next\_\-serving}}
\index{next\_\-serving@{next\_\-serving}!cluster@{cluster}}
\subsubsection[next\_\-serving]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf cluster\_\-node}$\ast$ {\bf cluster::next\_\-serving}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_0790d37c29c68e44e2e6aa3c0d46bb70}




Definido na linha 41 do ficheiro cluster.h.

Referenciado por add\_\-cluster\_\-node(), hb\_\-rebuild\_\-msg(), nlb\_\-hook\_\-in(), procfile\_\-read() e remove\_\-cluster\_\-node().\hypertarget{structcluster_c5a12bfd4d88406ced444aedaf84ed45}{
\index{cluster@{cluster}!node\_\-count@{node\_\-count}}
\index{node\_\-count@{node\_\-count}!cluster@{cluster}}
\subsubsection[node\_\-count]{\setlength{\rightskip}{0pt plus 5cm}int {\bf cluster::node\_\-count}}}
\label{structcluster_c5a12bfd4d88406ced444aedaf84ed45}




Definido na linha 42 do ficheiro cluster.h.

Referenciado por add\_\-cluster\_\-node(), hb\_\-rebuild\_\-msg(), init\_\-cluster() e remove\_\-cluster\_\-node().\hypertarget{structcluster_c846f7faaa5552def937e185f42e40e5}{
\index{cluster@{cluster}!dev@{dev}}
\index{dev@{dev}!cluster@{cluster}}
\subsubsection[dev]{\setlength{\rightskip}{0pt plus 5cm}struct net\_\-device$\ast$ {\bf cluster::dev}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_c846f7faaa5552def937e185f42e40e5}




Definido na linha 44 do ficheiro cluster.h.

Referenciado por init\_\-cluster(), nlb\_\-cluster\_\-exit() e nlb\_\-hook\_\-in().\hypertarget{structcluster_5c014dc4806dfdcc72ddcdfff23231ae}{
\index{cluster@{cluster}!mac\_\-response@{mac\_\-response}}
\index{mac\_\-response@{mac\_\-response}!cluster@{cluster}}
\subsubsection[mac\_\-response]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf cluster::mac\_\-response}\mbox{[}ETH\_\-ALEN\mbox{]}}}
\label{structcluster_5c014dc4806dfdcc72ddcdfff23231ae}




Definido na linha 45 do ficheiro cluster.h.

Referenciado por dev\_\-cluster\_\-hard\_\-start\_\-xmit\_\-new(), init\_\-cluster() e nlb\_\-init\_\-module().\hypertarget{structcluster_cdb104ede08b2fbd5bcfb23aa8db042d}{
\index{cluster@{cluster}!vlan\_\-dev@{vlan\_\-dev}}
\index{vlan\_\-dev@{vlan\_\-dev}!cluster@{cluster}}
\subsubsection[vlan\_\-dev]{\setlength{\rightskip}{0pt plus 5cm}struct net\_\-device$\ast$ {\bf cluster::vlan\_\-dev}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_cdb104ede08b2fbd5bcfb23aa8db042d}




Definido na linha 47 do ficheiro cluster.h.\hypertarget{structcluster_7ae1f275ddabb8b5ff63b6b9dc171a0c}{
\index{cluster@{cluster}!port@{port}}
\index{port@{port}!cluster@{cluster}}
\subsubsection[port]{\setlength{\rightskip}{0pt plus 5cm}int {\bf cluster::port}}}
\label{structcluster_7ae1f275ddabb8b5ff63b6b9dc171a0c}




Definido na linha 49 do ficheiro cluster.h.\hypertarget{structcluster_088588314045ccef65ac5c6b72d5e37d}{
\index{cluster@{cluster}!hard\_\-start\_\-xmit\_\-old@{hard\_\-start\_\-xmit\_\-old}}
\index{hard\_\-start\_\-xmit\_\-old@{hard\_\-start\_\-xmit\_\-old}!cluster@{cluster}}
\subsubsection[hard\_\-start\_\-xmit\_\-old]{\setlength{\rightskip}{0pt plus 5cm}int($\ast$ {\bf cluster::hard\_\-start\_\-xmit\_\-old})(struct sk\_\-buff $\ast$skb, struct net\_\-device $\ast${\bf dev})}}
\label{structcluster_088588314045ccef65ac5c6b72d5e37d}




Referenciado por dev\_\-cluster\_\-hard\_\-start\_\-xmit\_\-new(), init\_\-cluster() e nlb\_\-cluster\_\-exit().\hypertarget{structcluster_823f2ac00f77d6c7f23f224e5d7f328f}{
\index{cluster@{cluster}!ip@{ip}}
\index{ip@{ip}!cluster@{cluster}}
\subsubsection[ip]{\setlength{\rightskip}{0pt plus 5cm}u32 {\bf cluster::ip}}}
\label{structcluster_823f2ac00f77d6c7f23f224e5d7f328f}




Definido na linha 59 do ficheiro cluster.h.\hypertarget{structcluster_e763326a5606306ff8879a318c03e176}{
\index{cluster@{cluster}!new\_\-ip\_\-addr@{new\_\-ip\_\-addr}}
\index{new\_\-ip\_\-addr@{new\_\-ip\_\-addr}!cluster@{cluster}}
\subsubsection[new\_\-ip\_\-addr]{\setlength{\rightskip}{0pt plus 5cm}struct in\_\-ifaddr {\bf cluster::new\_\-ip\_\-addr}\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{structcluster_e763326a5606306ff8879a318c03e176}




Definido na linha 60 do ficheiro cluster.h.

Referenciado por init\_\-cluster().\hypertarget{structcluster_4918986560ed2638282b9a6856427dda}{
\index{cluster@{cluster}!rwlock@{rwlock}}
\index{rwlock@{rwlock}!cluster@{cluster}}
\subsubsection[rwlock]{\setlength{\rightskip}{0pt plus 5cm}rwlock\_\-t {\bf cluster::rwlock}}}
\label{structcluster_4918986560ed2638282b9a6856427dda}




Definido na linha 63 do ficheiro cluster.h.

Referenciado por add\_\-cluster\_\-node(), get\_\-node\_\-by\_\-id(), init\_\-cluster(), nlb\_\-hook\_\-in() e remove\_\-cluster\_\-node().

A documentação para esta estrutura foi gerada a partir do seguinte ficheiro:\begin{CompactItemize}
\item 
\hyperlink{cluster_8h}{cluster.h}\end{CompactItemize}
